home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / Make / source / README.Amiga < prev    next >
Encoding:
Text File  |  1997-09-25  |  2.6 KB  |  78 lines

  1. Short: V3.76.1 Port of GNU make with SAS/C (no ixemul.library required)
  2. Author: GNU, Amiga port by Aaron "Optimizer" Digulla and Stefan Ruppert
  3. Uploader: Stefan Ruppert <ruppert@amigaworld.com>
  4. Type: dev/c
  5. Distribution: NoCD
  6.  
  7. This is a pure Amiga port of GNU make. It needs no extra libraries or
  8. anything. It has the following features (in addition to any features of
  9. GNU make):
  10.  
  11. - Runs Amiga-Commands with SystemTags() (Execute)
  12. - Can run multi-line statements
  13. - Allows to use Device-Names in targets:
  14.  
  15.     c:make : make.o
  16.  
  17.     is ok. To distinguish between device-names and target : or ::, MAKE
  18.     looks for spaces. If there are any around :, it's taken as a target
  19.     delimiter, if there are none, it's taken as the name of a device. Note
  20.     that "make:make.o" tries to create "make.o" on the device "make:".
  21. - Replaces @@ by a newline in any command line:
  22.  
  23.     if exists make @@\
  24.         delete make.bak quiet @@\
  25.         rename make make.bak @@\
  26.     endif @@\
  27.     $(CC) Link Make.o To make
  28.  
  29.     works. Note that the @@ must stand alone (ie. "make@@\" is illegal).
  30.     Also be carefull that there is a space after the "\" (ie, at the
  31.     beginning of the next line).
  32. - Can be made resident to save space and time
  33. - Amiga specific wildcards can be used in $(wildcard ...)
  34.  
  35. New in V3.76.1 (by Stefan Ruppert)
  36.  
  37. - added Workbench startup support
  38.   + Now you can run GNU make from Workbench like smake
  39.   + you can define any command line arguments in the ToolType section
  40.   + added Ralph Babels WBPath Workbench path cloning functions
  41. - fixed bug for default makefile include directory. Now it searches
  42.   makefiles to include in the mkinclude: directory.
  43. - cleaned up the source code, moved some amiga specific code into the
  44.   amiga subdirectory.
  45. - added OPTINLOCAL option, thus all static functions used only once 
  46.   are inlined
  47. - added getloadavg() function using the Executive SysInfo.library
  48. - the provided executable is compiled for MC68000 processor
  49. - added AmigaGuide version of the documentation
  50. - for general bug fixes and news see NEWS file
  51.  
  52. BUGS:
  53. - The line
  54.  
  55.     dummy.h : src/*.c
  56.  
  57. tries to make dummy.h from "src/*.c" (ie. no wildcard-expansion takes
  58. place). You have to use "$(wildcard src/*.c)" instead.
  59.  
  60. COMPILING FROM SCRATCH
  61. ----------------------
  62.  
  63. To recompile, you need SAS/C 6.5x. make itself is not neccessary, there
  64. is an smakefile.
  65.  
  66. 1. run the script in amiga/configure.SAS
  67. 2. run smake in the top level directory
  68.    if you specify CFLAGS=CPU=680x0 you can generate a executeable for
  69.    a specific CPU.
  70.  
  71. INSTALLATION
  72.  
  73. Copy make somewhere in your search path (eg. sc:c or sc:bin).
  74. If you plan to use recursive makes, install make resident:
  75.  
  76.     Resident make Add
  77.  
  78.